package com.company.project.entity.warehouse;

import com.baomidou.mybatisplus.annotation.TableId;
import com.company.project.ctype.WarehouseCategory;
import com.company.project.ctype.WarehouseState;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

/**
 * 仓库
 */
@Data
public class Warehouse implements Serializable {

  @TableId("id")
  private String id;

  /**
   * 所属中心
   */
  private String owner;

  /**
   * 仓库名称
   */
  private String name;
  /**
   * 仓库属性
   */
  private String category;

  @CreatedDate
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createdDate;

  @LastModifiedDate
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date lastModifiedDate;


  /**
   * 经办人
   */
  private String createdBy;

  /**
   * 当前状态
   */
  private String currentState;



}
